﻿using System;
namespace hf.Model
{
	/// <summary>
	/// Ask:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Ask
	{
		public Ask()
		{}
		#region Model
		private int _id;
		private string _title;
		private int _classid;
		private int _smallclassid;
		private string _content;
		private int _answercount;
		private DateTime _addtime;
		private DateTime _endtime;
		private int _userid;
		private int _points;
		private int _provinceid;
		private int _cityid;
		private int _statusid;
		private int _isindex;
		/// <summary>
		/// 问题编号
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 标题
		/// </summary>
		public string Title
		{
			set{ _title=value;}
			get{return _title;}
		}
		/// <summary>
		/// 法律事务大类
		/// </summary>
		public int ClassID
		{
			set{ _classid=value;}
			get{return _classid;}
		}
		/// <summary>
		/// 法律事务小类
		/// </summary>
		public int SmallClassID
		{
			set{ _smallclassid=value;}
			get{return _smallclassid;}
		}
		/// <summary>
		/// 主要类容
		/// </summary>
		public string Content
		{
			set{ _content=value;}
			get{return _content;}
		}
		/// <summary>
		/// 回答次数
		/// </summary>
		public int AnswerCount
		{
			set{ _answercount=value;}
			get{return _answercount;}
		}
		/// <summary>
		/// 发布时间
		/// </summary>
		public DateTime Addtime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		/// <summary>
		/// 到期时间
		/// </summary>
		public DateTime EndTime
		{
			set{ _endtime=value;}
			get{return _endtime;}
		}
		/// <summary>
		/// 发布人ID
		/// </summary>
		public int UserID
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 悬赏分数
		/// </summary>
		public int Points
		{
			set{ _points=value;}
			get{return _points;}
		}
		/// <summary>
		/// 省ID
		/// </summary>
		public int ProvinceID
		{
			set{ _provinceid=value;}
			get{return _provinceid;}
		}
		/// <summary>
		/// 城市ID
		/// </summary>
		public int CityID
		{
			set{ _cityid=value;}
			get{return _cityid;}
		}
		/// <summary>
		/// 状态
		/// </summary>
		public int StatusID
		{
			set{ _statusid=value;}
			get{return _statusid;}
		}
		/// <summary>
		/// 推荐首页
		/// </summary>
		public int isIndex
		{
			set{ _isindex=value;}
			get{return _isindex;}
		}
        /// <summary>
        /// 省份名称
        /// </summary>
        public string ProvinceName { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 时间差
        /// </summary>
        public string timeString { get; set; }
        public string BigClassName { get; set; }
        public string SmallClassName { get; set; }
        /// <summary>
        /// 解答律师名
        /// </summary>
        public string LaywerName { get; set; }
        /// <summary>
        /// 发布者帐号
        /// </summary>
        public string UserName { get; set; }
		#endregion Model

	}
}

